package common;

import java.io.Serializable;

public class Novel implements Serializable {
	String name;
	String author;
	String jianJie;
	String address;
	String type;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getJianJie() {
		return jianJie;
	}

	public void setJianJie(String jianJie) {
		this.jianJie = jianJie;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Novel(String name, String author, String jianJie, String address,
			String type) {
		super();
		this.name = name;
		this.author = author;
		this.jianJie = jianJie;
		this.address = address;
		this.type = type;
	}

	@Override
	public String toString() {
		return name + "\t\t" + author + "\t\t" + jianJie;
	}
}
